package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;

/**
 * 案件通知记录表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "case_notification",dataSource = "caseDS")
public class CaseNotificationEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联案件ID
     */
    @Column(value = "case_id")
    private Long caseId;

    /**
     * 接收用户ID
     */
    @Column(value = "user_id")
    private Long userId;

    /**
     * 通知类型
     */
    @Column(value = "notification_type")
    private Object notificationType;

    /**
     * 通知内容
     */
    @Column(value = "content")
    private String content;

    @Column(value = "send_time")
    private Date sendTime;

    /**
     * 阅读时间
     */
    @Column(value = "read_time")
    private Date readTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Object getNotificationType() {
        return notificationType;
    }

    public void setNotificationType(Object notificationType) {
        this.notificationType = notificationType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }
}
